package com.xw.childhealth.service.impl;

import com.xw.childhealth.dao.XzCodeDao;
import com.xw.childhealth.entity.XzCode;
import com.xw.childhealth.service.XzCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 2019-11-18 17:28
 * @Version: 1.0
 */
@Service
public class XzCodeServiceImpl implements XzCodeService {

    @Autowired
    private XzCodeDao xzCodeDao;


    @Override
    public XzCode findByIdEquals(Integer id) {
        return xzCodeDao.findByIdEquals(id);
    }

    @Override
    public XzCode save(XzCode xzCode) {
        return xzCodeDao.save(xzCode);
    }
}
